//
//  BaseViewController.h
//  TSDemo
//
//  Created by 汪小芳 on 2018/7/3.
//  Copyright © 2018年 WF. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface BaseViewController : UIViewController

/** 页面标题*/
@property (nonatomic, copy) NSString *name;
/** 导航栏右边第一个按钮图片或者名字*/
@property (nonatomic, strong) UIImage *rightIm_0;
@property (nonatomic, copy) NSString *rightStr_0;
/** 导航栏右边第二个按钮图片或者名字*/
@property (nonatomic, strong) UIImage *rightIm_1;
@property (nonatomic, copy) NSString *rightStr_1;

/** 是否展示返回按钮,默认显示*/
@property (nonatomic, assign) BOOL showBack;


/**UITableView*/
@property(nonatomic,strong)UITableView *tableview;
@property (nonatomic, assign) NSInteger page;
@property (nonatomic, strong) NSMutableArray *dataList;


/** 初始化数据*/
- (void)initData;
/** 左侧返回动作*/
- (void)leftBackAction;
/** 右边按钮第一个动作*/
- (void)right_0_action;
/** 右边按钮第二个动作*/
- (void)right_1_action;

- (void)vcback;
- (void)addNavBarRightButtonWithTitle:(NSString*)title image:(UIImage*)image action:(SEL)action;



@end
